class LoggingObserver implements FruitObserver {
    @Override
    public void onFruitCreated(String fruitType) {
        System.out.println("[System] 已生产水果: " + fruitType);
    }
}